package com.yundasys.lab17.lab17springbootdemo.config;

import com.yundasys.lab17.lab17springbootdemo.entity.Dog3;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Title: SpringConfig
 * @Description:
 * @author: jiangta
 * @date: 2023/8/23 5:05 下午
 * @Version: 1.0
 */
@Configuration
public class SpringConfig {

    @Bean(initMethod = "init")
    public Dog3 dog3() {
        Dog3 dog3 = new Dog3();
        return dog3;
    }
}